package com.example.heimashop.model;

import com.google.gson.annotations.SerializedName;
import java.util.List;

/**
 * 商品详情实体类
 */
public class ProductDetail {
    @SerializedName("goods_id")
    private int goodsId;

    @SerializedName("goods_name")
    private String goodsName;

    @SerializedName("goods_price")
    private double goodsPrice;

    @SerializedName("goods_number")
    private int goodsNumber;

    @SerializedName("goods_introduce")
    private String goodsIntroduce;

    private List<Pic> pics;
    private List<Attr> attrs;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(int goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsIntroduce() {
        return goodsIntroduce;
    }

    public void setGoodsIntroduce(String goodsIntroduce) {
        this.goodsIntroduce = goodsIntroduce;
    }

    public List<Pic> getPics() {
        return pics;
    }

    public void setPics(List<Pic> pics) {
        this.pics = pics;
    }

    public List<Attr> getAttrs() {
        return attrs;
    }

    public void setAttrs(List<Attr> attrs) {
        this.attrs = attrs;
    }

    public static class Pic {
        @SerializedName("pics_big_url")
        private String picsBigUrl;

        @SerializedName("pics_mid_url")
        private String picsMidUrl;

        @SerializedName("pics_sma_url")
        private String picsSmaUrl;

        public String getPicsBigUrl() {
            return picsBigUrl;
        }

        public void setPicsBigUrl(String picsBigUrl) {
            this.picsBigUrl = picsBigUrl;
        }

        public String getPicsMidUrl() {
            return picsMidUrl;
        }

        public void setPicsMidUrl(String picsMidUrl) {
            this.picsMidUrl = picsMidUrl;
        }

        public String getPicsSmaUrl() {
            return picsSmaUrl;
        }

        public void setPicsSmaUrl(String picsSmaUrl) {
            this.picsSmaUrl = picsSmaUrl;
        }
    }

    public static class Attr {
        @SerializedName("attr_name")
        private String attrName;

        @SerializedName("attr_value")
        private String attrValue;

        public String getAttrName() {
            return attrName;
        }

        public void setAttrName(String attrName) {
            this.attrName = attrName;
        }

        public String getAttrValue() {
            return attrValue;
        }

        public void setAttrValue(String attrValue) {
            this.attrValue = attrValue;
        }
    }
}
